package com.zkingsoft.bean;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.matrix.core.anotations.Extend;
import com.zkingsoft.common.bean.EntityDTOExt;

/**
 * @description (优惠券)
 * @author 何明
 * @date 2018-05-23 09:24
 */
public class BizCoupon  extends EntityDTOExt{
	@Extend
	private static final long serialVersionUID = 1L; 

	
	/**
	 * 主键
	 */
	private String  couId;
			
	
	/**
	 * 名称
	 */
	private String  couName;
			
	
	/**
	 * 面值
	 */
	private BigDecimal  couValue;
			
	
	/**
	 * 发行数量（0 无限）
	 */
	private Integer  couNum;
			
	
	/**
	 * 开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date  couStartTime;
			
	
	/**
	 * 到期时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")  
	private Date  couEndTime;
			
	
	/**
	 * 每个人限领
	 */
	private Integer  couSingleNum;
			
	
	/**
	 * 备注
	 */
	private String  couRemark;
			
	
	/**
	 * 用户ID
	 */
	private String  userId;
			
	
	/**
	 * 活动ID
	 */
	private String  activitiesId;
			
	
	/**
	 * 状态:0、上架  1、下架
	 */
	private Integer  couStatus;
			
	
	/**
	 * 剩余数量
	 */
	private Integer  couSurplus;
			
	/**
	 * 活动标题
	 */
	@Extend
	private String  actTitle;
	

	

	public String getActTitle() {
		return actTitle;
	}

	public void setActTitle(String actTitle) {
		this.actTitle = actTitle;
	}

	public String getCouId() {
			if(couId==null){
			return "";
   		}
		
		return couId;
	}
   	
   	public void setCouId(String couId) {
		this.couId=couId;
	}
   	

	public String getCouName() {
			if(couName==null){
			return "";
   		}
		
		return couName;
	}
   	
   	public void setCouName(String couName) {
		this.couName=couName;
	}
   	

	public BigDecimal getCouValue() {
		
		return couValue;
	}
   	
   	public void setCouValue(BigDecimal couValue) {
		this.couValue=couValue;
	}
   	

	public Integer getCouNum() {
		
		return couNum;
	}
   	
   	public void setCouNum(Integer couNum) {
		this.couNum=couNum;
	}
   	

	public Date getCouStartTime() {
		
		return couStartTime;
	}
   	
   	public void setCouStartTime(Date couStartTime) {
		this.couStartTime=couStartTime;
	}
   	

	public Date getCouEndTime() {
		
		return couEndTime;
	}
   	
   	public void setCouEndTime(Date couEndTime) {
		this.couEndTime=couEndTime;
	}
   	

	public Integer getCouSingleNum() {
		
		return couSingleNum;
	}
   	
   	public void setCouSingleNum(Integer couSingleNum) {
		this.couSingleNum=couSingleNum;
	}
   	

	public String getCouRemark() {
			if(couRemark==null){
			return "";
   		}
		
		return couRemark;
	}
   	
   	public void setCouRemark(String couRemark) {
		this.couRemark=couRemark;
	}
   	

	public String getUserId() {
			if(userId==null){
			return "";
   		}
		
		return userId;
	}
   	
   	public void setUserId(String userId) {
		this.userId=userId;
	}
   	

	public String getActivitiesId() {
			if(activitiesId==null){
			return "";
   		}
		
		return activitiesId;
	}
   	
   	public void setActivitiesId(String activitiesId) {
		this.activitiesId=activitiesId;
	}
   	

	public Integer getCouStatus() {
		
		return couStatus;
	}
   	
   	public void setCouStatus(Integer couStatus) {
		this.couStatus=couStatus;
	}
   	

	public Integer getCouSurplus() {
		
		return couSurplus;
	}
   	
   	public void setCouSurplus(Integer couSurplus) {
		this.couSurplus=couSurplus;
	}
   	


  
}